package com.bci.pwtz.service;

import com.bci.pwtz.mysql.model.LoginDeviceCode;
import org.springframework.stereotype.Service;

/**
 * Created by admin on 2017/10/18.
 */
public interface LoginDeviceCodeService {

    int deleteByPrimaryKey(Integer id);

    int insert(LoginDeviceCode record);

    int insertSelective(LoginDeviceCode record);

    LoginDeviceCode selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LoginDeviceCode record);

    int updateByPrimaryKey(LoginDeviceCode record);

    LoginDeviceCode findInfo(String phone);

    boolean isThisDevice(String devicecode,String phone);
}
